from flask import Flask
from routes.auth import auth
from routes.main import main
from routes.image import image
# from routes.text import text
# from routes.audio import audio
# from routes.video import video

app = Flask(__name__)
app.secret_key = 'your_secret_key'

# 注册蓝图
app.register_blueprint(auth)
app.register_blueprint(main)
app.register_blueprint(image)
# app.register_blueprint(text)
# app.register_blueprint(audio)
# app.register_blueprint(video)

if __name__ == '__main__':
    app.run(debug=True) 